Skip to content

[rustdoc] Prevent ICE when path is Err #67207

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed

Conversation

GuillaumeGomez
Copy link
Member

This PR prevents the ICE from #64705 but doesn't fix it.

cc @rust-lang/compiler
r? @kinnison

@GuillaumeGomez GuillaumeGomez changed the title Prevent ICE when path is Err [rustdoc] Prevent ICE when path is Err Dec 10, 2019
@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 10, 2019
@nikomatsakis
Copy link
Contributor

I'm a bit worried about the fact that this test doesn't seem to have an error reported -- I guess this is the same concern that @petrochenkov noted in #64705. I'd be reluctant to land this without a better understanding of what's going on myself.

@GuillaumeGomez
Copy link
Member Author

@nikomatsakis The idea here is just to prevent the ICE (a few people complained about it already on docs.rs) but I'd definitely prefer to have a definitive fix.

@petrochenkov
Copy link
Contributor

Superseded by #67236.

@GuillaumeGomez
Copy link
Member Author

Perfect!

@GuillaumeGomez GuillaumeGomez deleted the impl-fn-macro-item-ice branch December 11, 2019 20:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants